Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Windows
Storage
Streams
DataWriter
Class DataWriter
Index
Constructor methods
constructor
Properties
byteOrder
unicodeEncoding
unstoredBufferLength
Methods
close
detachBuffer
detachStream
dispose
flushAsync
measureString
storeAsync
writeBoolean
writeBuffer
writeByte
writeBytes
writeDateTime
writeDouble
writeGuid
writeInt16
writeInt32
writeInt64
writeSingle
writeString
writeTimeSpan
writeUInt16
writeUInt32
writeUInt64
Constructor methods
constructor
(
outputStream
:
IOutputStream
)
:
DataWriter
Parameters
outputStream:
IOutputStream
Returns
DataWriter
constructor
(
)
:
DataWriter
Returns
DataWriter
Properties
public
byteOrder
:
ByteOrder
public
unicodeEncoding
:
UnicodeEncoding
public
unstoredBufferLength
:
number
Methods
public
close
(
)
public
detachBuffer
(
)
:
IBuffer
Returns
IBuffer
public
detachStream
(
)
:
IOutputStream
Returns
IOutputStream
public
dispose
(
)
public
flushAsync
(
)
:
IAsyncOperation
Returns
IAsyncOperation
public
measureString
(
value
:
string
)
:
number
Parameters
value:
string
Returns
number
public
storeAsync
(
)
:
DataWriterStoreOperation
Returns
DataWriterStoreOperation
public
writeBoolean
(
value
:
boolean
)
Parameters
value:
boolean
public
writeBuffer
(
buffer
:
IBuffer
)
Parameters
buffer:
IBuffer
public
writeBuffer
(
buffer
:
IBuffer
, start
:
number
, count
:
number
)
Parameters
buffer:
IBuffer
start:
number
count:
number
public
writeByte
(
value
:
number
)
Parameters
value:
number
public
writeBytes
(
value
:
Uint8Array
)
Parameters
value:
Uint8Array
public
writeDateTime
(
value
:
Date
)
Parameters
value:
Date
public
writeDouble
(
value
:
number
)
Parameters
value:
number
public
writeGuid
(
value
:
string
)
Parameters
value:
string
public
writeInt16
(
value
:
number
)
Parameters
value:
number
public
writeInt32
(
value
:
number
)
Parameters
value:
number
public
writeInt64
(
value
:
number
)
Parameters
value:
number
public
writeSingle
(
value
:
number
)
Parameters
value:
number
public
writeString
(
value
:
string
)
:
number
Parameters
value:
string
Returns
number
public
writeTimeSpan
(
value
:
number
)
Parameters
value:
number
public
writeUInt16
(
value
:
number
)
Parameters
value:
number
public
writeUInt32
(
value
:
number
)
Parameters
value:
number
public
writeUInt64
(
value
:
number
)
Parameters
value:
number
Globals
Windows
Windows.ApplicationModel
Windows.ApplicationModel.Activation
Windows.ApplicationModel.Background
Windows.ApplicationModel.Contacts
Windows.ApplicationModel.Contacts.Provider
Windows.ApplicationModel.Core
Windows.ApplicationModel.DataTransfer
Windows.ApplicationModel.DataTransfer.ShareTarget
Windows.ApplicationModel.Resources
Windows.ApplicationModel.Resources.Core
Windows.ApplicationModel.Resources.Management
Windows.ApplicationModel.Search
Windows.ApplicationModel.Store
Windows.Data
Windows.Data.Html
Windows.Data.Json
Windows.Data.Xml
Windows.Data.Xml.Dom
Windows.Data.Xml.Xsl
Windows.Devices
Windows.Devices.Enumeration
Windows.Devices.Enumeration.Pnp
Windows.Devices.Geolocation
Windows.Devices.Input
Windows.Devices.Portable
Windows.Devices.Printers
Windows.Devices.Printers.Extensions
Windows.Devices.Sensors
Windows.Devices.Sms
Windows.Foundation
Windows.Foundation.Collections
Windows.Foundation.Diagnostics
Windows.Foundation.Metadata
Windows.Globalization
Windows.Globalization.Collation
Windows.Globalization.DateTimeFormatting
Windows.Globalization.Fonts
Windows.Globalization.NumberFormatting
Windows.Graphics
Windows.Graphics.Display
Windows.Graphics.Imaging
Windows.Graphics.Printing
Windows.Graphics.Printing.OptionDetails
Windows.Management
Windows.Management.Core
Windows.Management.Deployment
Windows.Media
Windows.Media.Capture
Windows.Media.Devices
Windows.Media.MediaProperties
Windows.Media.PlayTo
Windows.Media.Playlists
Windows.Media.Protection
Windows.Media.Transcoding
Windows.Networking
Windows.Networking.BackgroundTransfer
Windows.Networking.Connectivity
Windows.Networking.NetworkOperators
Windows.Networking.Proximity
Windows.Networking.PushNotifications
Windows.Networking.Sockets
Windows.Security
Windows.Security.Authentication
Windows.Security.Authentication.OnlineId
Windows.Security.Authentication.Web
Windows.Security.Credentials
Windows.Security.Credentials.UI
Windows.Security.Cryptography
Windows.Security.Cryptography.Certificates
Windows.Security.Cryptography.Core
Windows.Security.Cryptography.DataProtection
Windows.Security.ExchangeActiveSyncProvisioning
Windows.Storage
Windows.Storage.AccessCache
Windows.Storage.BulkAccess
Windows.Storage.Compression
Windows.Storage.FileProperties
Windows.Storage.Pickers
Windows.Storage.Pickers.Provider
Windows.Storage.Provider
Windows.Storage.Search
Windows.Storage.Streams
Windows.System
Windows.System.Display
Windows.System.Profile
Windows.System.RemoteDesktop
Windows.System.Threading
Windows.System.Threading.Core
Windows.System.UserProfile
Windows.UI
Windows.UI.ApplicationSettings
Windows.UI.Core
Windows.UI.Core.AnimationMetrics
Windows.UI.Input
Windows.UI.Input.Inking
Windows.UI.Notifications
Windows.UI.Popups
Windows.UI.StartScreen
Windows.UI.Text
Windows.UI.ViewManagement
Windows.UI.WebUI
Windows.Web
Windows.Web.AtomPub
Windows.Web.Syndication
ByteOrder
InputStreamOptions
UnicodeEncoding
IBuffer
IBufferFactory
IContentTypeProvider
IDataReader
IDataReaderFactory
IDataReaderStatics
IDataWriter
IDataWriterFactory
IInputStream
IInputStreamReference
IOutputStream
IRandomAccessStream
IRandomAccessStreamReference
IRandomAccessStreamReferenceStatics
IRandomAccessStreamStatics
IRandomAccessStreamWithContentType
Buffer
DataReader
DataReaderLoadOperation
DataWriter
constructor
byteOrder
unicodeEncoding
unstoredBufferLength
close
detachBuffer
detachStream
dispose
flushAsync
measureString
storeAsync
writeBoolean
writeBuffer
writeByte
writeBytes
writeDateTime
writeDouble
writeGuid
writeInt16
writeInt32
writeInt64
writeSingle
writeString
writeTimeSpan
writeUInt16
writeUInt32
writeUInt64
DataWriterStoreOperation
FileInputStream
FileOutputStream
FileRandomAccessStream
InMemoryRandomAccessStream
InputStreamOverStream
OutputStreamOverStream
RandomAccessStream
RandomAccessStreamOverStream
RandomAccessStreamReference