Class SegmentSerializer
Inherited Members
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class SegmentSerializer
Constructors
SegmentSerializer()
Declaration
public SegmentSerializer()
Methods
Load(string, byte[], CultureCode)
Declaration
public static Segment Load(string text, byte[] binaryData, CultureCode culture)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | |
| byte[] | binaryData | |
| CultureCode | culture |
Returns
| Type | Description |
|---|---|
| Segment |
Save(Segment, List<byte>)
Declaration
public static string Save(Segment segment, List<byte> binaryData)
Parameters
| Type | Name | Description |
|---|---|---|
| Segment | segment | |
| List<byte> | binaryData |
Returns
| Type | Description |
|---|---|
| string |