package
0.1.8-alpha.2
Repository: https://github.com/abstern/signal-back.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewBackupFile initialises a backup file for reading using the provided path and password.
No description provided by the author
NewMultiWriter returns a new instance of a multi writer.
No description provided by the author
NewRecipientFromStatement constructs an XML recipient struct from a SQL statement.
NewSMSFromStatement constructs an XML SMS struct from a SQL statement.
ParametersToMMS converts a set of SQL parameters to a single MMS.
ParametersToPart converts a set of SQL parameters to a single part.
ParametersToRecipient converts a set of SQL parameters to a single recipient.
ParametersToSMS converts a set of SQL parameters to a single SMS.
No description provided by the author
StatementToMMS converts a of SQL statement to a single MMS.
StatementToPart converts a of SQL statement to a single part.
StatementToRecipient converts a of SQL statement to a single recipîent.
StatementToSMS converts a of SQL statement to a single SMS.
StatementToStringArray formats a SqlStatement fairly literally as an array.

# Constants

ATTACHMENT_BUFFER_SIZE is the size of the buffer in bytes used for decrypting attachments.
Character sets as specified by IANA.
Character sets as specified by IANA.
133.
134.
138.
137.
146.
145.
147.
140.
139.
144.
143.
142.
141.
130.
131.
136.
135.
132.
129.
128.
3.
5.
0.
4.
6.
1.
2.

# Variables

CSV column headers.
ProtoCommitHash is the commit hash of the Signal Protobuf spec.
CSV column headers.
CSV column headers.

# Structs

BackupFile stores information about a given backup file.
ConsumeFuncs stores parameters for a Consume operation.
MMS represents a Multimedia Messaging Service record.
MMSPart holds a data blob for an MMS.
MultiWriter is a convenience wrapper around an io.Writer to allow multiple consecutive (safe) writes.
Recipient represents a recipient record.
SMS represents a Short Message Service record.
SMSes holds a set of MMS or SMS records.
SQLMMS info https://github.com/signalapp/Signal-Android/blob/master/src/org/thoughtcrime/securesms/database/MmsDatabase.java#L110.
SQLPart info https://github.com/signalapp/Signal-Android/blob/master/src/org/thoughtcrime/securesms/database/AttachmentDatabase.java#L120.
SQLRecipient info https://github.com/signalapp/Signal-Android/blob/master/src/org/thoughtcrime/securesms/database/RecipientDatabase.java#L148.
SQLSMS info https://github.com/signalapp/Signal-Android/blob/master/src/org/thoughtcrime/securesms/database/SmsDatabase.java#L77.

# Type aliases

SMSType is an SMS type as defined by the XML backup spec.