vibe.d beta banner
get vibe.d
0.8.1

Asynchronous I/O that doesn’t get in your way, written in D

Bson.this - multiple declarations

Function Bson.this

Initializes a new BSON value from the given D type.

ref this (
  double value
) @safe;

ref this (
  string value,
  Bson.Type type = cast(Type)cast(ubyte)2u
) @safe;

ref this (
  const(Bson[string]) value
) @safe;

ref this (
  const(Bson[]) value
) @safe;

ref this (
  const(BsonBinData) value
) @safe;

ref this (
  const(BsonObjectID) value
) @safe;

ref this (
  bool value
) @safe;

ref this (
  const(BsonDate) value
) @safe;

ref this (
  typeof(null) _param_0
) @safe;

ref this (
  const(BsonRegex) value
) @safe;

ref this (
  int value
) @safe;

ref this (
  const(BsonTimestamp) value
) @safe;

ref this (
  long value
) @safe;

ref this (
  const(Json) value
) @safe;

Function Bson.this

Creates a new BSON value using raw data.

ref this (
  Bson.Type type,
  immutable(ubyte)[] data
) @safe;

A slice of the first bytes of data is stored, containg the data related to the value. An exception is thrown if data is too short.

Function Bson.this

Initializes a new BSON value from the given D type.

ref this (
  double value
) @safe;

ref this (
  string value,
  Bson.Type type = cast(Type)cast(ubyte)2u
) @safe;

ref this (
  const(Bson[string]) value
) @safe;

ref this (
  const(Bson[]) value
) @safe;

ref this (
  const(BsonBinData) value
) @safe;

ref this (
  const(BsonObjectID) value
) @safe;

ref this (
  bool value
) @safe;

ref this (
  const(BsonDate) value
) @safe;

ref this (
  typeof(null) _param_0
) @safe;

ref this (
  const(BsonRegex) value
) @safe;

ref this (
  int value
) @safe;

ref this (
  const(BsonTimestamp) value
) @safe;

ref this (
  long value
) @safe;

ref this (
  const(Json) value
) @safe;
Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.